package dryven.unittest.mocks;

import java.util.Map;

public class BodyParamMockRequest extends MockRequest {

	private Map<String, String> bodyParams;
	
	public BodyParamMockRequest(String localURL, Map<String, String> bodyParams) {
		super(localURL);
		this.bodyParams = bodyParams;
	}

	@Override
	public String getBodyParam(String name) {
		return bodyParams.get(name);
	}

	@Override
	public Iterable<String> getBodyParamNames() {
		return bodyParams.keySet();
	}
	
	

}
